package Exercise1;

public class EnumTest1 {
    public static void main(String args[])
    {
    /*    Color RED = Color.RED;
        System.out.println(RED);
        Color color[] = Color.values();
        for(int i=0;i<color.length;i++)
        {
            System.out.println(color[i]);
        }*/
          Color color = Color.valueOf("RED");
        System.out.println(color);

    }
}

enum Color
{
    RED,
    YEELLO,
    GREEN,
    BLUE;
}
